
import request from '@/utils/request'

export function pageWorkFlow(data) {
  return request({
    url: '/api/base/work_flow/page',
    method: 'post',
    data
  })
}

export function listHistoryWorkFlow(data) {
  return request({
    url: '/api/base/work_flow/list_history',
    method: 'post',
    data
  })
}

/**
 * @description: 添加评论
 * @param {*}
 * @return {*}
 */
export function addCommentWorkFlow(data) {
  return request({
    url: '/api/base/work_flow/add_comment',
    method: 'post',
    data
  })
}